package com.ys.entity.amazonorder;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_AmazonSellerException", catalog="Id")
public class TpAmazonSellerException extends BaseEntity<TpAmazonSellerException> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="SellerId", nameJava="sellerId", typeDataBase="varchar")
	private String sellerId;
	@YsField(nameDataBase="SellerName", nameJava="sellerName", typeDataBase="varchar")
	private String sellerName;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAmazonSellerException setId(Long id) {
		this.id = id;
		return this;
	}
	public String getSellerId() {
		return sellerId;
	}
	public TpAmazonSellerException setSellerId(String sellerId) {
		this.sellerId = sellerId;
		return this;
	}
	public String getSellerName() {
		return sellerName;
	}
	public TpAmazonSellerException setSellerName(String sellerName) {
		this.sellerName = sellerName;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TpAmazonSellerException setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAmazonSellerException setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAmazonSellerException setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAmazonSellerException setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAmazonSellerException tpAmazonSellerException(
		String sellerId,
		String sellerName,
		String remark,
		Integer status
			) {
		TpAmazonSellerException entity = new TpAmazonSellerException();
		entity.setSellerId(sellerId);
		entity.setSellerName(sellerName);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}